package com.atguigu.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author xyouzi
 * @date 2022/7/24 11:33
 */
@Data
public class SearchParam {
    private String keyword;
    private Long catalog3Id;

    /**
     * sort=saleCount_asc/desc
     * sort=skuPrice_asc/desc
     * sort=hotScore_asc/desc
     */
    private String sort;

    /**
     * 过滤条件
     */
    private Integer hasStock;   // 是否只显示有货
    private String skuPrice;    // 价格区间
    private List<Long> brandId; // 品牌id
    private List<String> attrs; // 按照属性进行筛选
    private Integer pageNum=1;
}

